package com.kvest.bookprovider;

import android.net.Uri;
import android.provider.BaseColumns;

public class BookProviderMetaData 
{
	public static final String AUTHORITY = "com.kvest.provider.BookProvider";
	public static final String DATABASE_NAME = "book.db";
	public static final int DATABASE_VERSION = 1;
	public static final String BOOKS_TABLE_NAME = "books";
	
	private BookProviderMetaData(){}
	
	public static final class BookTableMetaData implements BaseColumns
	{
		private BookTableMetaData(){}
		public static final String TABLE_NAME = "books";
		public static final Uri CONTENT_URI = Uri.parse("content://" + AUTHORITY + "/books");
		public static final String CONTENT_TYPE="vnd.android.cursor.dir/vnd.kvest.book";
		public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/vnd.kvest.book";
		public static final String DEFAULT_SORT_ORDER = "modified DESC";
		public static final String BOOK_NAME = "name";
		public static final String BOOK_ISBN = "isbn";
		public static final String BOOK_AUTHOR = "author";
		public static final String CREATED_DATE = "created";
		public static final String MODIFIED_DATE = "modified";
	}
}
